package com.rv.nats.core;


import com.rv.nats.enums.ClientType;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

/**
 *
 * 业务的nats客户端
 * @author .sun
 * @date 2022/1/15
 **/

@Order(Ordered.HIGHEST_PRECEDENCE)
public class ApplicationNatsHandler extends AbstractNatsHandler {

    public ApplicationNatsHandler() {
       clientType = ClientType.Application;
    }


    /**
     * 获取当前包名
     *
     * @return 包名
     */
    @Override
    protected String getPackageName() {
        return "com.rv.admin.nats";
    }
}

